package com.cyzy.service;

import com.cyzy.entity.TeacherAvailableTime;
import java.util.Map;

public interface TeacherAvailableTimeService {
    // 分页查询课程列表
    Map<String, Object> getList(String keyword, String teacherName, int pageNum, int pageSize);

    // 根据ID查询课程
    TeacherAvailableTime getById(Integer id);

    // 新增课程
    boolean add(TeacherAvailableTime teacherAvailableTime);

    // 更新课程
    boolean update(TeacherAvailableTime teacherAvailableTime);

    // 删除课程
    boolean delete(Integer id);
}
